<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<link href="__PUBLIC__/admin/css/style.css" rel="stylesheet" type="text/css" />
<link href="__PUBLIC__/admin/css/select.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="__PUBLIC__/admin/js/jquery.js"></script>
<script type="text/javascript" src="__PUBLIC__/admin/js/select-ui.min.js"></script>
</head>

<body>

	<div class="place">
    <span>位置：</span>
    <ul class="placeul">
    <li>首页</li>
    <li>添加后台用户</li>
    </ul>
    </div>
    
    <div class="formbody">
    
    <div class="formtitle"><span>后台用户添加</span></div>
    <form action="{:U('admin/add')}" method="post">
		<ul class="forminfo">
			<li>
				<label>用户名：</label>
				<input name="username" type="text" class="dfinput" /><font color="red">&nbsp;&nbsp;&nbsp;账号必须为2至8位</font><i></i>
			</li>
			<li>
				<label>密码：</label>
				<input name="password" type="text" class="dfinput" /><font color="red">&nbsp;&nbsp;&nbsp;密码大于6位</font>
			</li>
			<li>
				<label>手机：</label>
				<input name="admin_phone" type="text" class="dfinput" />
			</li>
			<li>
				<label>QQ：</label> 
				<input name="admin_qq" type="text" class="dfinput" />
			</li>
			<li>
				<label>用户角色：</label>
				 <div class="vocation">
				    <select class="select1" name="rid">
				  <volist name="role_list" id="vo">
				  <option value="{$vo.id}">{$vo.title}</option>
				  </volist>
				    </select>
				</div>
				<script type="text/javascript">
$(document).ready(function(e) {
    $(".select1").uedSelect({
		width : 345			  
	});
	
});
</script>
			</li>
			<li>
				<label>&nbsp;</label>
				<input style ="float:left;" type="submit" class="btn" value="确认添加"/>
				<!-- <a class="cancel" style="float:left;margin-left:5px;width:137px;height: 35px;" href="<?php echo U('user/adminuser')?>"><span style="text-align:center;">返回</span></a>
				 -->
			</li>
			
		</ul>
    </form>
    
    </div>
</body>
</html>
